
import 'dart:io';

import 'package:trade/common/config/i_config.dart';

/// 网络配置
class NetConfig extends IConfig {
  /// 接口服务
  String get baseUrl => "http://47.119.135.209/api";

  @override
  Future<void>? init() async{
    // await _configHttpsCertificate();
    return null;
  }

  // Future _configHttpsCertificate() async {
    // ByteData data = await rootBundle.load('assets/raw/koolio_global.crt');
    // SecurityContext context = SecurityContext.defaultContext;
    // context.setTrustedCertificatesBytes(data.buffer.asUint8List());
  //   return null;
  // }

}